package com.kili.cloud.shorturl.vo;

import lombok.Data;

import java.util.List;

/**
 * 分页参数
 * Abner.Hu 2019/08/13
 */
@Data
public class PageVo {


    private int page = 0;
    private int limit = 10;

    private int start = 0;
    private int length = 10;
    public int getPage() {

        return start / length + 1;
    }

    public int getLimit() {
        return length;
    }
}


